<%--
  Created by IntelliJ IDEA.
  User: humeng
  Date: 2022/10/31
  Time: 14:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>login</title>
</head>
<body>
<form action="1.jsp" method="post">
  用户名:<input type="text" name="username">
  <br>
  密码: <input type="password" name="password">
    <div style="color: red">
        <%=session.getAttribute("msg")!=null?"账户或密码错误":""%>
    </div>
  <input type="submit" value="ok">
</form>
<a href="./register.jsp">立即注册</a>


</body>
</html>
